package other;

public class lastStoneWeightII_1049 {
    public int lastStoneWeightII(int[] stones) {
        //很像背包问题
        //尽可能分成两份和相近的数组
        int sum=0;
        for(int num:stones)
            sum+=num;
        return sum;
    }
}
